package com.cloudkinto.service.platform.vo.product;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author long
 * @Description 调拨配对响应
 * @Date 2025/3/14 16:11
 */
@Data
public class AllocatePlatformUpdateRes {

    @ApiModelProperty("平台产品id")
    private Long platformProductId;

    @ApiModelProperty("系统产品信息")
    private List<SysProductInfo> sysProductInfoList = new ArrayList<>();

    @Data
    public static class SysProductInfo {
        private Long productId;

        private String sku;

        private String productName;

        private int qty;

        @ApiModelProperty(value = "发货仓库可用库存")
        private int deliveryWhAvailableStock;

        @ApiModelProperty(value = "发货仓库在途库存")
        private int deliveryWhInTransitStock;
    }
}
